package com.mydesignpattern.beijing.future.future;

public class Student {
    private String no;
    private String name;
    private String age;
    private String sex;

    public Student(){}

    public Student(String no,String name,String age,String sex){
        this.no = no;
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String toString(){
        return "{no:"+this.no+",name:"+this.name+",age:"+this.age+",sex:"+this.sex+"}";
    }
}
